<template>
	<view class="mix-botoom-operation row">
		<view class="btn-group  nav-group">

			<view class="btn center" @click="">
				<view class="box">
					<image class="img" src="../../static/shop/iconCart.png" mode=""></image>
					<view class="">
						购物车
					</view>
				</view>
			</view>

		</view>
		<view class="btn-group row">
			<view class="btn center" style="background-color: #FFCB25 ;" @click="$emit('input',true)">
				<text>加入购物车</text>
			</view>
			<view class="btn center" style="background-color: #FB542C;" @click="$emit('input',true)">
				<text>立即购买</text>
			</view>
		</view>


	</view>
</template>

<script>
	export default {
		data() {
			return {
				loveShow: false,
			}
		},
		methods: {
			love() {
				this.loveShow = !this.loveShow
			}
		}
	}
</script>

<style scoped lang="scss">
	.mix-botoom-operation {
		position: fixed;
		left: 0;
		bottom: 0;
		z-index: 90;
		width: 100%;
		height: 100rpx;
		background-color: #fff;
	}

	.nav-group {
		flex: 1;
		width: 50%;
		background-color: #575757 !important;

		image {}

	}

	.img {
		width: 30rpx;
		height: 30rpx;
		z-index: 100;
	}
	.box{
		padding-top: 10rpx;
		text-align: center;
		margin: auto;
		font-size: 24rpx;
	}
	.btn-group {
		flex: 1;
		overflow: hidden;

		.btn {
			flex: 1;
			height: 86rpx;
			font-size: 30rpx;
			color: #fff;
		}
	}
</style>
